package com.buka.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * (ProductOrderItem)表实体类
 *
 * @author makejava
 * @since 2025-08-12 14:27:52
 */
@SuppressWarnings("serial")
@Data
public class ProductOrderItem extends Model<ProductOrderItem> {

    private Long id;
    //订单号
    private Long productOrderId;

    private String outTradeNo;
    //产品id
    private Long productId;
    //商品名称
    private String productName;
    //商品图片
    private String productImg;
    //购买数量
    private Integer buyNum;

    private Date createTime;
    //购物项商品总价格
    private BigDecimal totalAmount;
    //购物项商品单价
    private BigDecimal amount;

}

